<!--
 * Description: 专案同步主页面
 * Company: 联宝（合肥）电子科技有限公司
 * Author: Dongxu.Ni
 * Date: 2020/03/31 07:26
-->

<template>
  <el-tabs v-model="activeTabName">
    <el-tab-pane label="本地专案" name="1">
      <keep-alive>
        <project-data-local />
      </keep-alive>
    </el-tab-pane>
    <el-tab-pane label="IDP专案" name="2">
      <keep-alive>
        <project-data-idp />
      </keep-alive>
    </el-tab-pane>
  </el-tabs>
</template>

<script>
import ProjectDataLocal from './ProjectDataLocal'
import ProjectDataIdp from './ProjectDataIdp'
export default {
  name: 'ProjectDataManager',
  components: { ProjectDataIdp, ProjectDataLocal },
  props: {},
  data() {
    return {
      // 当前tab
      activeTabName: '1'
    }
  },
  computed: {},
  watch: {},
  created() {
    this.pageDataInit()
  },
  mounted() {},
  methods: {
    /* 页面数据初始化*/
    pageDataInit() {}
  }
}
</script>

<style scoped></style>
